
<div class="clear"></div>
<div class="idx"><img src="__THEME__/public/statics/imgs/ad.jpg" width="100%" height="90" /></div>
<div class="clear"></div>

<div class="Dg">您当前位置：<a href="{:U('home:index/index')}">首页</a>  > <a href="{:U('news:index/index')}">新闻</a> > {:NavPos(catid,' > ')}<!--面包屑导航--></div>
<div class="digg" style="margin-top:5px">
	<div class="digg_l">
		<div class="left03">
			<h4>栏目索引</h4>
			<ul>
				<!--循环输出当前栏目的同级栏目-->
				{cmstag:category table='class' where="pid={$pid}" order='ordid desc,id desc' loop=0 return='category'}
				<li><a href="[category:id fun='catUrl(@me)']" {if category("id")=catid} style="color:#00F;font-weight:bold;"{/if}>[category:name]</a></li>
 				{/cmstag:category}
            </ul>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
		<div class="left01">
			<h4>猜你喜欢</h4>
			<ul>
                <!--我们按缩略图排序，因为第一行和第二行要输出一个图片-->
				{asp i=0}
				{cmstag:news table='article' field='id,thumb,title,url,intro' where="classid in( {$childs} )" order='len(thumb) desc,update_time desc' loop=12}
                {if i<2}
                <li class="pic"><img src="[news:thumb]" width="70" height="60" align="left" /><span><a href="[news:id fun='getArcUrl(@me)']" title="[news:title]">[news:title fun='ab.c.cutstr(@me,20)']</a></span><div class="into">[news:intro fun='ab.c.cutstr(@me,38)']</div></li>
                {else}
                <li class="nopic"><a href="[news:id fun='getArcUrl(@me)']" title="[news:title]">[news:title fun='ab.c.cutstr(@me,27)']</a></li>
				{/if}
				{$i++}
				{/cmstag:news}
            </ul>	
        </div>
		<div class="left02">
			<h4>热门排行榜</h4>
			<ul>
                <!--我们按点击排序-->
				{asp i=0}
				{cmstag:news table='article' field='id,title,url' where="classid in( {$childs} )" order='hits' loop=10}
                <li><span {if i<3}class="one"{/if}>{$i+1}</span><a href="[news:id fun='getArcUrl(@me)']" title="[news:title]">[news:title fun='ab.c.cutstr(@me,27)']</a></li>
				{$i++}
				{/cmstag:news}
			</ul>	
        </div>
    </div>
	<div class="lmlist">
		<h4>{$cat("name")}</h4>
		<ul>
        <!--分页显示列表数据-->
		{cmstag:news table='article' field='id,title,url,update_time' where="classid in( {$childs} )" order='update_time desc' pagesize=0 return='news'}
        <li><span>[news:update_time fun='stdTime(@me)']</span><a title="[news:title]" href="[news:id fun='getArcUrl(@me)']">[news:title]</a></li>
        {/cmstag:news}
		{@empty for='news'} 暂无相关数据！ {/@empty}
        </ul>
        <div class="n_fy" style="padding-left:0px">
            <div class="fenye" id="fenye">
				{pagetag:pager mark='p' return='pager'} [pager:bar] {/pagetag:pager}
            </div>
		<div>
	</div>
	</div></div>
	<div class="clear"></div>

</div>
